<%@ taglib prefix="s" uri="/struts-tags" %>
<%--
  Created by IntelliJ IDEA.
  User: Berten De Schutter
  Date: 10-Nov-2009
  Time: 13:50:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="org.springframework.security.ui.webapp.AuthenticationProcessingFilter" %>
<html>
<head><title>Simple jsp page</title></head>
<body>

<form action="../j_spring_security_check">
    <label for="j_username">Username</label>
    <input type="text" name="j_username" id="j_username" value="<%= session.getAttribute(AuthenticationProcessingFilter.SPRING_SECURITY_LAST_USERNAME_KEY) %>"/>
    <br/>
    <label for="j_password">Password</label>
    <input type="password" name="j_password" id="j_password"/>
    <br/>
    <input type="checkbox" name="j_spring_security_remember_me"/> Remember me on this computer.
    <br/>
    <input type="submit" value="Login"/>
</form>
</body>
</html>